/**
 * 公用参数
 */

var region=''; //地区
var offices='';//科室
var isShow='';//是否显示底部导航
/**
 * 默认加载
 * @type {{init: Window.process.init, public: Window.process.public}}
 */
window.process = {
    init: function () {
        this.initData();
        this.public();
    },
    initData:function () {
        var paramsData = getUrlParamsCode();
        region= paramsData['region'];
        offices= paramsData['offices'];
        isShow= paramsData['isShow'];
        if(region){
          $('#region span').html(region);
        }
        if(offices){
          $('#offices span').html(offices);
        }

    },
    public: function () {
        //地区选择
        $('#region').click(function () {
            window.location.href='region.html';
        });

        //科室选择
        $('#offices').click(function () {
            window.location.href='offices.html';
        });

    }
};

/**
 * 启动方法执行
 */
process.init();



